Parent Process
- 网络父进程
-
When this new process the child process is executing , the parent process will still be running .
当这个新进程(子进程)正在执行时,父进程仍然在运行。
-
Let 's now send a SIGTERM to the parent process .
现在,向父进程发送一个SIGTERM。
-
The child is deleted automatically if the parent process is deleted .
如果父过程被删除,子过程会被自动地删除。
-
This example program creates a cloned thread sharing memory space with the parent process .
这个程序例子创建了一个与其父进程共享存储器空间的克隆线程。
-
If the Compensation Sphere setting is Supports , it will use the parent process 's Compensation Sphere .
如果补偿域设置为Supports,那么它将使用父流程的补偿域。
-
Parent process creates children processes , which , in turn create other processes , forming a tree of processes .
父进程创建子进程,如此轮流创建进程下去,构成一个进程树。
-
It has its own independent flow of control , as long as its parent process exists and the operating system supports it .
只要线程的父进程存在,并且操作系统支持线程,那么线程将具有它自己的独立控制流。
-
Figure 31 shows the expanded event subprocess with the Interrupt Parent Process ? setting checked .
图31显示了扩展的事件子流程,其中勾选了InterruptParentProcess?设置。
-
If the parent process dies before its children , the orphaned children need to know who is their parent process .
如果父进程在子进程之前终止,孤立的子进程需要知道它们的父进程是谁。
-
In this example , the parent process calls fork , waits for two seconds , then exits .
在此例中,父进程调用fork,等待两秒钟,然后退出。
-
This allows even running instances of the parent process to pick up newer versions of these subprocesses .
这使得即使正在运行的父流程实例也可以选取这些子流程的较新版本。
-
When a shell script process exits or returns to the parent process , the exit code should be0 .
当shell脚本进程退出或返回到父进程时,退出码应该是0。
-
Although a parent process can access the process ID of its child process and can thus pass arguments to it , the reverse is false .
尽管父进程可以访问其子进程的进程ID并向它传递参数,但是反过来不行。
-
In cases when the child process is dependent on the parent process , you can use wait functions in parent process to wait for the child process termination .
在子进程依赖于父进程的情况下,您可以在父进程中使用等待函数来等待子进程的终止。
-
The process that gets the0 is called the child process , and the non-zero result goes to the original process , which is the parent process .
获得0的进程称为子进程,非零结果属于原始进程,即父进程。
-
It might share the process resources with other threads that act independently ( or dependently ), and it dies if the parent process dies .
它可能与其他独立(或者非独立)使用的线程共享进程资源,如果它的父进程结束,那么它也将结束。
-
This experiment is a signal of experiments , the release of the parent process semaphore as producers , as consumers apply for the child process semaphore .
本实验是一个信号量实验,父进程作为生产者释放信号量,子进程作为消费者申请信号量。实验环境Redhat9。
-
A subprocess can be embedded in the parent process or be a standalone process model that can be invoked by the parent process via a call activity .
子流程可以嵌入到父流程中,或者是独立的流程模型。独立的流程模型能够通过调用活动(callactivity)由父流程调用。
-
Notice that the setting Interrupt Parent Process ? is unchecked , which makes this event subprocess non-interruptible . The Repeatable ?
请注意,InterruptParentProcess?设置处于未勾选状态,这会使此事件子流程不可中断。
-
Once expanded , you 'll see a breadcrumb trail at the top of the diagram that allows you to navigate back to the parent process .
展开之后,您将在图表顶部看到一个痕迹线索,该线索允许您逆向导航到父流程。
-
The kernel handles this system call by releasing the resources owned by the process and sending the parent process a SIGCHLD signal , which is ignored by default .
核心处理这个调用的时候释放进程的全部资源并向其父进程发送SIGCHLD信号,缺省情况下这个信号是被父进程忽略的。
-
With late binding , the parent process instance calls the currently valid version of a subprocess when it reaches the subprocess invocation in its navigation .
使用后期绑定,父流程实例将在其导航中到达子流程调用点时调用子流程的当前有效版本。
-
PID2934 is the parent process , and PID2935 is the one that is forked off and terminated immediately .
PID2934是父进程,PID2935是派生(fork)并立即终止的进程。
-
When a process forks , the operating system creates a new child process with a new process ID , duplicating the state of the parent process ( memory , environment variables , and more ) .
在进程执行fork时,操作系统将创建具有新进程ID的新的子进程,复制父进程的状态(内存、环境变量等)。
-
You could test this example even further by changing the environmental variable in the parent process again , and you would observe that the child is now completely separate , with a life of its own .
您可以通过在父进程中再次修改环境变量来进一步测试这个示例,您将看到子进程现在是完全独立的,它有了自己的生命。
-
Fork () creates a child process that differs from the parent process only in its PID and PPID ; in fact , the resource utilizations are set to0 .
fork()会创建一个子进程,与父进程相比只是PID和PPID不同;实际上,资源利用设为0。
-
The parent process running on one processor toggles the value of num_proc1 based on the value of num_proc2 ( and branches based on the value of the variable modified by another process ) .
运行在一个处理器上的父进程根据numproc2的值来切换numproc1的值(并且根据由另一个处理器修改的该变量的值进行转移)。
-
If a parent process should die before the child process , the child process can become a defunct process & also known as a zombie process which usually results in a hung process or hung application .
如果父进程先于子进程死亡,那么子进程就成了死进程(也称为僵尸进程),这常常会导致进程或应用程序挂起。
-
Comparing the PIDs printed , you can see that the original process is the parent process ( PID 767 ), and the child process ( PID 768 ) knows who its parent is .
对所打印的PID进行比较,可以看到原始进程是父进程(PID767),并且子进程(PID768)知道其父进程是谁。
-
If you look at the input variables of the service that retrieves instances , shown in Figure 24 , note that the setting for the name of the process is the name of the linked process not the parent process .
如果查看检索实例的服务的输入变量,如图24所示,请注意,流程名称的设置是链接流程的名称,不是父流程的名称。